//    Copyright (C) Kherty.  All rights reserved.
namespace OpenLS.Core.Serialization
{
    /// <summary>
    /// Defines a way for objects to serialize and deserialize from an Office document 
    /// </summary>
    public interface IOfficeXmlSerializable
    {
        /// <summary>
        /// Generates an object from its XML representation
        /// </summary>
        /// <param name="context"></param>
        void ReadXml(ReadContext context);

        /// <summary>
        /// Convert an object into its XML representation
        /// </summary>
        /// <param name="context"></param>
        void WriteXml(WriteContext context);
    }
}